package edu.sctu.practice.class02.luohui.test08;

/**
 * Created by asus on 2015/10/14.
 */
public class Truck extends Vehicles {
    float load;

    public Truck(String brand, String color, float load) {
        super(brand, color);
        this.load = load;
    }
    public void showTruck(){
        super.showInfo();
        System.out.println("载重 ：" + load + "吨");

    }
}
